from .service.pay_strategy import PayStrategy


class PayContext(object):
    def __init__(self, strategy: PayStrategy):
        self.strategy = strategy

    def execute_pay_out(self):
        """
        触发支付
        """
        url = self.strategy.pay_out()
        return url
